package com.example.ivideo_2211a.search

import com.example.common.mvi.Res
import kotlinx.coroutines.flow.Flow
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query

interface SearchApi {
    @GET("/videosimple/getSimpleVideoByKeyword")
    suspend fun getVideoByKeyWord(
        @Query("keyword") keyword: String,
        @Query("page") page: Int,
        @Query("pagesize") pagesize: Int
    ): Response<Res<List<SearchDataEntity>>>
}